﻿using System;
using Amiable.SDK;
using Amiable.SDK.Enum;
using Amiable.SDK.EventArgs;
using Amiable.SDK.Interface;
using Amiable.SDK.Services;

namespace AmiConsole
{
    public class ShowConsoleEvent:IPluginEvent
    {
        public AmiableEventType EventType => AmiableEventType.AmiableLoaded;

        public void Process(AmiableEventArgs e)
        {
            ConsoleManager.Show();
            Console.Title = "Ami Console";
            Console.ForegroundColor = ConsoleColor.Green;
            
            Console.WriteLine($"[{DateTime.Now.ToShortTimeString()}]Ami Console已唤起控制台...");
            Console.WriteLine($"[{DateTime.Now.ToShortTimeString()}]你知道吗:你要是卖袜子的话可以赞助赫尔一双白袜(");
            Console.ResetColor();
        }
    }
}